.container {
    min-height: 100vh;
    background: #F1F7FF;
}

/* 头部导航 */
.header {
    height: 0.88rem;
    background: #2259A8;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 0.3rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: url('../images/header_bg.png') no-repeat;
    background-size: 100% 100%;
}


.back-btn {
    display: flex;
    align-items: center;
    padding: 0.1rem 0;
}

.back-btn img {
    width: 0.27rem;
    height: 0.27rem;
    margin-right: 0.1rem;
}

.back-btn span {
    font-size: 0.28rem;
    color: #FFFFFF;
}

.header-title {
    flex: 1;
    text-align: center;
    font-size: 0.34rem;
    margin-right: 0.44rem;
}

/* 问卷内容 */
.survey-content {
    position: relative;
    margin-top: 0.88rem;
    padding: 0.4rem 0.3rem;
}

/* 问候语 */
.greeting {
    margin-top: 115px;
    font-size: 0.28rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: .16rem;
    padding: 0.3rem;
    border-radius: 0.1rem;
    background: #FFFFFF;
    box-shadow: 0px 0px 6px 1px rgba(34, 89, 168, 0.32);
    position: relative;
    overflow: hidden;
}

.greeting::before {
    content: "";
    display: inline-block;
    height: 6px;
    background: linear-gradient(180deg, #2259A8 0%, #6DABFF 100%);
    box-shadow: 0px 3px 6px 1px rgba(34, 89, 168, 0.16);
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

/* 表单项 */
.form-item {
    margin-bottom: 0.5rem;
    padding: 0 0.3rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .3rem;
    color: #181C24;
}

/* 标签样式 */
.form-label {
    font-size: 0.28rem;
    color: #333333;
    margin-bottom: 0.2rem;
    font-weight: normal;
    display: flex;
    align-items: center;
}

/* 输入框和下拉框基础样式 */
.form-input {
    width: 100%;
    height: 0.88rem;
    border: none;
    border-radius: 0;
    padding: 0 0.3rem;
    font-size: 0.28rem;
    background: #F8F8F8;
    color: #333333;
    border-bottom: 1px solid #E5E5E5;
}

/* 禁用状态样式 */
.form-input:disabled {
    background: #F8F8F8;
    color: #333333;
    opacity: 1;
}

/* 下拉框特殊样式 */
select.form-input {
    appearance: none;
    background-image: url('./images/arrow-down.png');
    background-repeat: no-repeat;
    background-position: right 0.3rem center;
    background-size: 0.24rem;
    padding-right: 0.6rem;
}

/* 下拉框占位符颜色 */
select.form-input option:first-child {
    color: #999999;
}

/* 输入框占位符颜色 */
.form-input::placeholder {
    color: #999999;
}

/* 选择题样式 */
.question-block {
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.3rem;
}

.question-title {
    font-size: 0.36rem;
    color: #2259A8;
    font-weight: bold;
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 0.22rem;
}

.question-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 0.06rem;
    height: 0.3rem;
    background: #2259A8;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
}

.radio-item {
    display: flex;
    align-items: center;
    font-size: 0.28rem;
    color: #333;
    padding: 0.15rem 0;
    min-width: 1.6rem;
}

.radio-item input[type="radio"] {
    margin-right: 0.15rem;
    width: 0.36rem;
    height: 0.36rem;
    position: relative;
    visibility: hidden;
}

/* 自定义单选框样式 */
.radio-item input[type="radio"]::before {
    content: '';
    visibility: visible;
    position: absolute;
    width: 0.36rem;
    height: 0.36rem;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
}

.radio-item input[type="radio"]:checked::after {
    content: '';
    visibility: visible;
    position: absolute;
    width: 0.2rem;
    height: 0.2rem;
    background: #2259A8;
    border-radius: 50%;
    left: 0.08rem;
    top: 0.08rem;
}

/* 文本域 */
.textarea {
    width: 100%;
    height: 2.4rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.1rem;
    padding: 0.25rem;
    font-size: 0.28rem;
    background: #f8f8f8;
    resize: none;
    line-height: 1.5;
}

.textarea::placeholder {
    color: #999;
}

/* 修改提交按钮相关样式 */
.submit-wrapper {
    padding: 0.4rem 0.3rem 0.6rem;
}

.submit-btn {
    width: 100%;
    height: 0.88rem;
    background: #2259A8;
    color: #fff;
    border: none;
    border-radius: 0.44rem;
    font-size: 0.32rem;
    box-shadow: 0 0.04rem 0.16rem rgba(34, 89, 168, 0.2);
}

.submit-btn:active {
    background: #1b4786;
}

/* 下拉框样式 */
select.form-input {
    appearance: none;
    background-image: url('../images/arrow-down.png');
    background-repeat: no-repeat;
    background-position: right 0.3rem center;
    background-size: 0.24rem;
    padding-right: 0.6rem;
}

/* 必填标记 */
.required::after {
    content: '*';
    color: #ff4d4f;
    margin-left: 0.1rem;
}

/* 多选框组样式 */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.6rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    font-size: 0.28rem;
    color: #333;
    padding: 0.15rem 0;
    min-width: 1.6rem;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.15rem;
    width: 0.36rem;
    height: 0.36rem;
    position: relative;
    visibility: hidden;
}

/* 自定义多选框样式 */
.checkbox-item input[type="checkbox"]::before {
    content: '';
    visibility: visible;
    position: absolute;
    width: 0.36rem;
    height: 0.36rem;
    border: 1px solid #ddd;
    border-radius: 0.08rem;
    background: #fff;
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    visibility: visible;
    position: absolute;
    width: 0.2rem;
    height: 0.1rem;
    border: 2px solid #2259A8;
    border-top: none;
    border-right: none;
    background: transparent;
    transform: rotate(-45deg);
    left: 0.08rem;
    top: 0.1rem;
}

/* 表单组之间的分隔 */
.form-item:not(:last-child) {
    border-bottom: 1px solid #F5F5F5;
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
}

/* 基本信息布局 */
.basic-info {
    padding: 0 0.3rem;
    background: #FFFFFF;
    margin-top: 0.23rem;
}

.info-row {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.info-item {
    flex: 1;
}

.info-item .form-label {
    font-size: 0.28rem;
    color: #666666;
    margin-bottom: 0 !important;
    font-weight: normal;
}

.info-item .info-text {
    font-size: 0.32rem;
    color: #333333;
    line-height: 0.88rem;
    padding: 0 0.3rem;
    background: #F8F8F8;
}

/* 产品名称下拉框样式保持不变 */
.basic-info .form-item {
    margin-bottom: 0.3rem;
    border-bottom: 1px solid #F5F5F5;
    padding-bottom: 0.3rem;
}

.start-content {
    background: #FFFFFF;
    box-shadow: 0px 0px 6px 1px rgba(34, 89, 168, 0.32);
    border-radius: 0px 0px 24px 24px;
}

.start-title {
    height: 0.88rem;
    background: linear-gradient(180deg, #FCFEFF 0%, #EAF5FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.28rem;
    color: #2259A8;
}

.start-title img {
    width: 0.44rem;
    height: 0.44rem;
    margin-right: 0.1rem;
}

.survey-content-wrapper {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.submit-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* 成功弹窗样式 */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 5.9rem;
    background: #FFFFFF;
    border-radius: 0.24rem;
    padding: 0.6rem 0.4rem;
    position: relative;
    text-align: center;
}

.close-btn {
    position: absolute;
    right: 0.3rem;
    top: 0.3rem;
    width: 0.44rem;
    height: 0.44rem;
    cursor: pointer;
}

.close-btn img {
    width: 100%;
    height: 100%;
}

.success-icon {
    width: 1.28rem;
    height: 1.28rem;
    margin: 0 auto 0.3rem;
}

.success-icon img {
    width: 100%;
    height: 100%;
}

.success-title {
    font-size: 0.36rem;
    color: #333333;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.success-message {
    font-size: 0.28rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.back-button {
    width: 3.6rem;
    height: 0.88rem;
    background: #2259A8;
    border-radius: 0.44rem;
    color: #FFFFFF;
    font-size: 0.32rem;
    border: none;
    margin: 0 auto;
}

.back-button:active {
    background: #1b4786;
}